package org.test.service;

import org.apache.ibatis.annotations.Param;
import org.test.vo.Book;

import java.util.List;

public interface BookService {
    //添加书本
    Book addBook(Book book);

    //查询所有书籍，返回列表
    List<Book> getAllBooks();

    //根据图书编号查询书籍信息
    Book getBookByBookid(int bookid);

    //模糊查询书籍
    List<Book> searchLikeBookname(String bookname);
}
